package com.zjcloud.academic.domain;

import java.util.List;

/**
 * 排课染色体
 * 用于遗传算法中表示一个排课方案
 */
public class ScheduleChromosome {
    /**
     * 课表安排列表
     */
    private List<AcCourseSchedule> schedules;
    
    /**
     * 适应度值
     */
    private double fitness;

    public ScheduleChromosome() {
    }

    public ScheduleChromosome(List<AcCourseSchedule> schedules, double fitness) {
        this.schedules = schedules;
        this.fitness = fitness;
    }

    public List<AcCourseSchedule> getSchedules() {
        return schedules;
    }

    public void setSchedules(List<AcCourseSchedule> schedules) {
        this.schedules = schedules;
    }

    public double getFitness() {
        return fitness;
    }

    public void setFitness(double fitness) {
        this.fitness = fitness;
    }
}